package com.zzt.questionbankquestion.repository;

import com.zzt.questionbankquestion.bean.PersonalCourse;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonalCourseRepository extends PagingAndSortingRepository<PersonalCourse,Long> , JpaSpecificationExecutor<PersonalCourse> {
    public List<PersonalCourse> findByUserId(Long userId);
}
